 public class Main {
	public static void main(String[] args) {
		int sum = 0;
        int m = 20;
		int n = 100;
		// 使用do while计算M+...+N:
		do {
			sum = sum +m;
			m++;
		} while (m<100);
		System.out.println(sum);
	}
}